<?php 
//常规参数设置

$DBHost="localhost";  //主机名
$DBUser="root"; //mysql数据库用户名
$DBPws="oi2yxugx"; //mysql数据库密码
$DBName="faver"; //数据库名
$usertable="users"; //username表名
//adodb config
$version = 'V1.5';
include_once('./lib/adodb/adodb.inc.php');
$db = NewADOConnection('mysql');
$db->PConnect($DBHost, $DBUser, $DBPws, $DBName);
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
//$db->debug = true;
?>